package com.blacksheep.mtm.service;

import com.blacksheep.mtm.pojo.common.DataTablesResult;
import com.blacksheep.mtm.pojo.manager.TbBindBox;
import com.blacksheep.mtm.pojo.manager.TbBoxDetails;

import java.util.List;

public interface BindBoxService {
    DataTablesResult getList(int draw, int start, int length, int[] state,String search, String minDate, String maxDate, String orderCol, String orderDir);

    TbBindBox add(TbBindBox box);

    int alertState(int id,int state);

    int addBatch(List<String> list);

    int del(int id);

    TbBoxDetails addDetails(int bindId,String code);

    int delDetails(Long[] id);

    int unbind(int id);

    int addRemark(int id,String remark);
}
